package cn.rxls.community.dto.goods;

import cn.rxls.community.dto.PageDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
public class GoodsPageDTO extends PageDTO {
    /**
     * 分类id
     */
    @NotNull(message = "非法分类")
    @Min(value = 1,message = "非法分类")
    private Long id;
}
